﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Others
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Others</h2>
    <% Using Html.BeginForm()%>
    <% Dim bRequiredAuthentication As Boolean = ViewData("RequiredAuthentication")%>
    <br />
    <fieldset>
        <legend>Site Configuration</legend>
        <table>
            <tr>
                <td colspan="2">
                    &nbsp;
                    <%If ViewData("Success_Mess") IsNot Nothing Then%>
                    <p id="status" class="success">
                        <%= ViewData("Success_Mess")%>
                    </p>
                    <%End If%>
                </td>
            </tr>
            <tr>
                <td width="5px">
                    <%= Html.CheckBox("CheckWorkOrderAuthentication", bRequiredAuthentication)%>
                </td>
                <td>
                    Authentication Required For Every Work Order Processed
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    To request password change through &nbsp;
                    <%= Html.TextBox("ChangePassword", ViewData("ChangePassword"), New With {.class = "text short-input"})%>&nbsp;
                    days&nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" class="button right" value="     Save    " />
                </td>
            </tr>
        </table>
    </fieldset>
    <%End Using%>
</asp:Content>
